package com.lv.service.impl;

import com.lv.mapper.TbAdminMapper;
import com.lv.pojo.TbAdmin;
import com.lv.service.AdminService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
@DubboService
public class AdminServiceImpl implements AdminService {
    @Resource
    private TbAdminMapper am;

    @Override
    public TbAdmin getInfoByUname(String username) {
        return am.getInfoByUname(username);
    }
}
